#!/usr/bin/python
# -*- coding: utf-8 -*-

from django import forms
class UploadFileForm(forms.Form):
    title = forms.CharField(max_length=50)
    myfile = forms.FileField()

"""
from django import forms
from django.forms.util import ErrorList
from models import *
from choices import *
from error_messages import *

class GroupForm(forms.Form):
 

    name = forms.CharField(max_length = 10, label = u'群组名称', min_length = 1,
                           error_messages = NAME_ERRORMESSAGES)
    description = forms.TextField(label=u'群组介绍', max_length=100,
                                  required = False)
    tags = forms.CharField(max_length = 30, label = u'群组标签', required = False)
    suffix = forms.CharField(max_length = 30, label = u'个性域名', required = False)

    def clean(self):
        
    
"""
